Crm office integration

ABSTRACT

The method and system claimed recognizes phrases or segments within an electronic document, where the phrase or segment acts to trigger a function call to a sever component that connects to a CRM system or a CRM database and retrieves relevant information relating to and based on the recognized phrase. Further, the relevant information is formatted and displayed based on the content of the information retrieved and the context and content of the identified phrase.

CROSS REFERENCE TO RELATED APPLICATIONS

The application is a continuation of, claims the benefit of and priorityto, previously filed U.S. patent application Ser. No. 11/069,217entitled “CRM Office Integration” filed on Feb. 28, 2005, the subjectmatter of which is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

The present invention generally relates to a method and system ofaccessing information in a customer relationship management system basedon identifying phrases within an electronic document that are associatedwith information stored in the customer relationship management systemand displaying the information based on the content or context of theidentified reference.

BACKGROUND

Information workers typically work with desktop tools involving e-mailmessages, documents, spreadsheets, and forms that refer to customerinformation. Unfortunately, there is a deep divide between customerrelationship management (“CRM”) systems used to collect and manage dataon customers, and the desktop tools that information workers use tocommunicate and act on this information. This division is an unnecessarybarrier between the documents that talk about business information (forexample, e-mails or word processing documents between customers and acompany) and the information itself (for example, the customer record ororder record in the company's CRM system).

Workers may have to leave their desktop documents frequently to see,explore, and act on the information in a separate CRM system. The needto switch between applications is time-consuming and disruptive. Whenpeople must collaborate around information or documents, theinefficiencies may compound as colleagues must explore the samereferences and discover the related information repeatedly.

Thus, there is a need to incorporate and integrate some of the basicfunctionality of a CRM system, or at least provide access to the dataused by a CRM system, with office production tools such as a wordprocessing application, a messaging and collaboration application, aspreadsheet program, etc.

SUMMARY

The method and system of the claims enables information workers to viewand act on business data from within an electronic document using theirfamiliar desktop programs. The method and system claimed recognizesphrases or segments within an electronic document, where the phrase orsegment acts to trigger a function call to a sever component thatconnects to a CRM system or a CRM database and retrieves relevantinformation relating to and based on the recognized phrase. Further, therelevant information is formatted and displayed based on the content ofthe information retrieved and the context and content of the identifiedphrase.

The method and system of the claims enables organizations to connecttheir desktop programs to a CRM system and data in a cost-effective way.Using the method and system of the claims, information workers areprovided relevant information and related actions within the context ofperforming a business process. By providing access to this informationwhile within a document, e-mail message, spreadsheet, etc., informationworkers can connect content within an organization's documents torelated, existing back-office CRM system data.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a block diagram of a computing system that mayoperate in accordance with the claims;

FIG. 2 illustrates an architectural view of the components of anembodiment of the claims;

FIG. 3 illustrates a reference tag embodiment of the claims;

FIG. 4 illustrates a task pane embodiment of the claims;

FIG. 5 illustrates an example of CRM type recognizers;

FIG. 6 illustrates a task pane prioritizing data based on formattinginstructions;

FIG. 7 illustrates an update function for saving a document for anembodiment of the claims; and

FIGS. 8-9 illustrates screen shots demonstrating views displayed to auser for an embodiment of the claims.

DETAILED DESCRIPTION

Although the following text sets forth a detailed description ofnumerous different embodiments, it should be understood that the legalscope of the description is defined by the words of the claims set forthat the end of this patent. The detailed description is to be construedas exemplary only and does not describe every possible embodiment sincedescribing every possible embodiment would be impractical, if notimpossible. Numerous alternative embodiments could be implemented, usingeither current technology or technology developed after the filing dateof this patent, which would still fall within the scope of the claims.

It should also be understood that, unless a term is expressly defined inthis patent using the sentence “As used herein, the term ‘______ ’ ishereby defined to mean . . . ” or a similar sentence, there is no intentto limit the meaning of that term, either expressly or by implication,beyond its plain or ordinary meaning, and such term should not beinterpreted to be limited in scope based on any statement made in anysection of this patent (other than the language of the claims). To theextent that any term recited in the claims at the end of this patent isreferred to in this patent in a manner consistent with a single meaning,that is done for sake of clarity only so as to not confuse the reader,and it is not intended that such claim term be limited, by implicationor otherwise, to that single meaning. Finally, unless a claim element isdefined by reciting the word “means” and a function without the recitalof any structure, it is not intended that the scope of any claim elementbe interpreted based on the application of 35 U.S.C. §112, sixthparagraph.

FIG. 1 illustrates an example of a suitable computing system environment100 on which a system of the claimed method and apparatus may beimplemented. The computing system environment 100 is only one example ofa suitable computing environment and is not intended to suggest anylimitation as to the scope of use or functionality of the method andapparatus of the claims. Neither should the computing environment 100 beinterpreted as having any dependency or requirement relating to any onecomponent or combination of components illustrated in the exemplaryoperating environment 100.

The blocks of the claimed method and apparatus are operational withnumerous other general purpose or special purpose computing systemenvironments or configurations. Examples of well known computingsystems, environments, and/or configurations that may be suitable foruse with the methods or apparatus of the claims include, but are notlimited to, personal computers, server computers, hand-held or laptopdevices, multiprocessor systems, microprocessor-based systems, set topboxes, programmable consumer electronics, network PCs, minicomputers,mainframe computers, distributed computing environments that include anyof the above systems or devices, and the like.

The blocks of the claimed method and apparatus may be described in thegeneral context of computer-executable instructions, such as programmodules, being executed by a computer. Generally, program modulesinclude routines, programs, objects, components, data structures, etc.that perform particular tasks or implement particular abstract datatypes. The methods and apparatus may also be practiced in distributedcomputing environments where tasks are performed by remote processingdevices that are linked through a communications network. In adistributed computing environment, program modules may be located inboth local and remote computer storage media including memory storagedevices.

With reference to FIG. 1, an exemplary system for implementing theblocks of the claimed method and apparatus includes a general purposecomputing device in the form of a computer 110. Components of computer110 may include, but are not limited to, a processing unit 120, a systemmemory 130, and a system bus 121 that couples various system componentsincluding the system memory to the processing unit 120. The system bus121 may be any of several types of bus structures including a memory busor memory controller, a peripheral bus, and a local bus using any of avariety of bus architectures. By way of example, and not limitation,such architectures include Industry Standard Architecture (ISA) bus,Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, VideoElectronics Standards Association (VESA) local bus, and PeripheralComponent Interconnect (PCI) bus also known as Mezzanine bus.

Computer 110 typically includes a variety of computer readable media.Computer readable media can be any available media that can be accessedby computer 110 and includes both volatile and nonvolatile media,removable and non-removable media. By way of example, and notlimitation, computer readable media may comprise computer storage mediaand communication media. Computer storage media includes both volatileand nonvolatile, removable and non-removable media implemented in anymethod or technology for storage of information such as computerreadable instructions, data structures, program modules or other data.Computer storage media includes, but is not limited to, RAM, ROM,EEPROM, flash memory or other memory technology, CD-ROM, digitalversatile disks (DVD) or other optical disk storage, magnetic cassettes,magnetic tape, magnetic disk storage or other magnetic storage devices,or any other medium which can be used to store the desired informationand which can accessed by computer 110. Communication media typicallyembodies computer readable instructions, data structures, programmodules or other data in a modulated data signal such as a carrier waveor other transport mechanism and includes any information deliverymedia. The term “modulated data signal” means a signal that has one ormore of its characteristics set or changed in such a manner as to encodeinformation in the signal. By way of example, and not limitation,communication media includes wired media such as a wired network ordirect-wired connection, and wireless media such as acoustic, RF,infrared and other wireless media. Combinations of the any of the aboveshould also be included within the scope of computer readable media.

The system memory 130 includes computer storage media in the form ofvolatile and/or nonvolatile memory such as read only memory (ROM) 131and random access memory (RAM) 132. A basic input/output system 133(BIOS), containing the basic routines that help to transfer informationbetween elements within computer 110, such as during start-up, istypically stored in ROM 131. RAM 132 typically contains data and/orprogram modules that are immediately accessible to and/or presentlybeing operated on by processing unit 120. By way of example, and notlimitation, FIG. 1 illustrates operating system 134, applicationprograms 135, other program modules 136, and program data 137.

The computer 110 may also include other removable/non-removable,volatile/nonvolatile computer storage media. By way of example only,FIG. 1 illustrates a hard disk drive 140 that reads from or writes tonon-removable, nonvolatile magnetic media, a magnetic disk drive 151that reads from or writes to a removable, nonvolatile magnetic disk 152,and an optical disk drive 155 that reads from or writes to a removable,nonvolatile optical disk 156 such as a CD ROM or other optical media.Other removable/non-removable, volatile/nonvolatile computer storagemedia that can be used in the exemplary operating environment include,but are not limited to, magnetic tape cassettes, flash memory cards,digital versatile disks, digital video tape, solid state RAM, solidstate ROM, and the like. The hard disk drive 141 is typically connectedto the system bus 121 through a non-removable memory interface such asinterface 140, and magnetic disk drive 151 and optical disk drive 155are typically connected to the system bus 121 by a removable memoryinterface, such as interface 150.

The drives and their associated computer storage media discussed aboveand illustrated in FIG. 1, provide storage of computer readableinstructions, data structures, program modules and other data for thecomputer 110. In FIG. 1, for example, hard disk drive 141 is illustratedas storing operating system 144, application programs 145, other programmodules 146, and program data 147. Note that these components can eitherbe the same as or different from operating system 134, applicationprograms 135, other program modules 136, and program data 137. Operatingsystem 144, application programs 145, other program modules 146, andprogram data 147 are given different numbers here to illustrate that, ata minimum, they are different copies. A user may enter commands andinformation into the computer 20 through input devices such as akeyboard 162 and pointing device 161, commonly referred to as a mouse,trackball or touch pad. Other input devices (not shown) may include amicrophone, joystick, game pad, satellite dish, scanner, or the like.These and other input devices are often connected to the processing unit120 through a user input interface 160 that is coupled to the systembus, but may be connected by other interface and bus structures, such asa parallel port, game port or a universal serial bus (USB). A monitor191 or other type of display device is also connected to the system bus121 via an interface, such as a video interface 190. In addition to themonitor, computers may also include other peripheral output devices suchas speakers 197 and printer 196, which may be connected through anoutput peripheral interface 190.

The computer 110 may operate in a networked environment using logicalconnections to one or more remote computers, such as a remote computer180. The remote computer 180 may be a personal computer, a server, arouter, a network PC, a peer device or other common network node, andtypically includes many or all of the elements described above relativeto the computer 110, although only a memory storage device 181 has beenillustrated in FIG. 1. The logical connections depicted in FIG. 1include a local area network (LAN) 171 and a wide area network (WAN)173, but may also include other networks. Such networking environmentsare commonplace in offices, enterprise-wide computer networks, intranetsand the Internet.

When used in a LAN networking environment, the computer 110 is connectedto the LAN 171 through a network interface or adapter 170. When used ina WAN networking environment, the computer 110 typically includes amodem 172 or other means for establishing communications over the WAN173, such as the Internet. The modem 172, which may be internal orexternal, may be connected to the system bus 121 via the user inputinterface 160, or other appropriate mechanism. In a networkedenvironment, program modules depicted relative to the computer 110, orportions thereof, may be stored in the remote memory storage device. Byway of example, and not limitation, FIG. 1 illustrates remoteapplication programs 185 as residing on memory device 181. It will beappreciated that the network connections shown are exemplary and othermeans of establishing a communications link between the computers may beused.

The information workers who perform business functions have severalcommon traits. They depend on e-mail, forms, and electronic documents tocommunicate and collaborate about the business. Moreover, they rely ondata from multiple sources as input to a single decision, and aftermaking a decision, they take actions that involve multiple enterpriseapplications. Many employees rely on desktop applications to capture,analyze, report on, publish, process, communicate, and collaborate onbusiness information. These desktop applications provide a familiar,ubiquitous environment for communicating complex thoughts on businessinformation. When information workers communicate about businessmatters, they may typically use a word processing application, aspreadsheet application, or a messaging and/or collaborationapplication.

In an enterprise setting, however, key business information typicallyresides in large, back-end databases and line-of-business applications.The line-of-business applications that collect and maintain enterprisedata include Customer Relationship Management (CRM) systems. These CRMsystems typically include databases or data warehouses, servers, andserver applications that collect and manage the data, and in many cases,specialized front-end applications that enable users to interact withthe data. These are powerful, specialized front-end applications thatusually reflect the complexity of their back-end counterparts.

For specialists who spend most of their work time interacting with asingle system—that is, the subset of information workers who executestructured business processes within a single application—the complexityof a CRM system application is not an issue. But for the majority ofinformation workers who aren't directly involved in the creation ormanagement of the data, but whose effectiveness depends on their abilityto discover this data, these specialized systems are not very efficient.

For information workers that spend a majority of their time usingdesktop applications, reliance on a separate CRM system application canbe a significant liability. For occasional users, these systems may bedifficult to use and master, and users must switch between applications,using one set of tools to locate the required data, and then copy andpaste or re-key that data into the desktop application document in whichthey can work with the information in a meaningful manner.

This “application hopping” introduces numerous organizationalinefficiencies. It reduces productivity by forcing users to switchrapidly between applications, first learning and then applying thevarious commands and feature sets. In addition, the act of copying andpasting data from one application to another introduces opportunitiesfor error. Moreover, switching applications does not enable theinformation worker to view the information in context. Unlike a CRMsystem front-end application that may provide structured views into CRMdata, documents or e-mail messages typically refer to specific CRM dataentities as part of a discussion or a decision or process that involvesthat information. Leaving the document to look up this informationdisrupts the flow of the decision or process. Application hopping alsoforces a worker to keep track of the context manually, moving between adocument and the CRM application, and places a heavy burden on theworker.

FIG. 2 illustrates a component architecture for an embodiment of theclaims. A desktop application 201 may run on a client machine togetherwith a context and action service (“CAS”) engine 202. Alternatively, theCAS engine may run on another physical machine coupled to the clientmachine. The CAS engine may communicate with a Metadata service 203which provides instructions to the CAS engine for analyzing anelectronic document associated with the desktop application, and forrecognizing phrases and segments of the document which may correspond toor relate to data in a CRM system 204. These instructions may be in theform of metadata 205 that is provided by a metadata store 206. Therecognition and identification of reference phrases may occurcontemporaneously with the creation of a document 207, e.g., as thephrase is being inputted into the document by a user. Alternatively, apre-identified, selectable or recognized phrase may be manually insertedinto the document without first being recognized by the CAS engine. Thisrecognized phrase may be used to initiate a call to a server component208 (which may be a Web Service) that connects to the CRM system 204.This call may retrieve various objects of the CRM system, such as acustomer, an account, a lead, etc. The initiation of a particularfunction of the server component may be based on a recognizedassociation between the function and the recognized phrase. Anapplication integration and rendering (“AIR”) module 209 may collect theretrieved data from the server component. The service component mayfurther provide the AIR module 209 with formatting information, wherethe formatting information may associate a view layout for the databased on the retrieved information, the context and content of thephrase, etc. The AIR module 209 may then collect the retrieved data andthe formatting information and display the retrieved results in a mannerconsistent with the formatting data. Displaying the data may happencontemporaneously with the recognition of a phrase. Alternatively, uponrecognition of the phrase, an indication that the phrase has beenrecognized may be given. This indication may provide a user an option toselect the phrase. Upon selection of the phrase, a list of actionoptions for retrieving further information may be displayed, oralternatively a set of retrieved information may be automaticallydisplayed without selection.

The CRM system may have several objects and functions. The servercomponent may only access a portion of the CRM system objects andfunctions. As illustrated in FIG. 2, a set of CRM objects may include acustomer 210, an account 211, a case 212, an opportunity 213, a lead214, and an activity 215 object.

The AIR module may include a task pane manager 216 for controlling atask pane object (not shown) that displays retrieved information fromthe server component. The AIR module may also comprise a hostintegration component 217 for interfacing a particular desktopapplication with the CAS engine and a rendering component 218 forcommunicating with the desktop application. The desktop application 201may manage the creation of a document 207. The document 207 may beanalyzed by the CAS engine through an underlying schema 219 of thedocument or through reference phrases 220, as discussed above. Adocument schema may be embedded with the document text using XML thatdemarcates different sections of the document, e.g., a form with severalparts.

In an embodiment illustrated in FIG. 3, an indicator takes the form ofan underline highlight 300 of the phrase 301. Options 302 may bedisplayed by selecting the highlighted and recognized phrase.

In one embodiment of the claims illustrated in FIG. 4, a task paneobject 401 may display information based on a recognized phrase as thephrase is being inputted, thereby acting as an indicator. While the taskpane may be used to provide a manual search option for obtaining CRMinformation independent of the document, a manual search through thetask pane may be automatically filtered based on the content and/orcontext of portions of the document. For example, if the portion of thedocument relates to customer opportunities, the CAS engine may recognizethis and help to refine a manual search by passing along context andcontent information to the server component along with manually inputtedsearch terms.

FIG. 5, illustrates a list of some CRM specific recognizers relating toCRM business objects that may be programmed into the CAS engine.Recognizers are used to instruct the CAS engine to identify the phrasesthat relate to CRM data. FIG. 5 illustrates that a recognizer 501 may beused to identify a customer name 502 which is then associated with acustomer business object 503 of the CRM system. An account numberrecognizer 504 may look for a particular string of digits associatedwith an account number 505 for an account object 506. A case recognizer507 may look for an alphanumeric string representing a case ID number508 for a case object 509. In certain situations, it may be appropriateto create recognizers for leads, activities and opportunities. Forexample, an opportunity recognizer 510 may be based on a phrase such as“. . . client is looking to purchase . . . ” 511 that describes anopportunity to sell products. This phrase may correspond to anopportunity object 512. While not illustrated, recognizers for leads,activities, and other CRM objects may be based on corresponding phrasesfor those objects.

Server component functions may correspond to a set of related CRMfunctions in which the server component functions simply wrap CRMfunctions, or intelligently call a group of CRM functions to accomplishan objective. The CRM application functions may, in turn, initiate datacommunication with a database management system (“DBMS”) to access a CRMdatabase. Alternatively, some functions may be programmed to completelybypass the CRM system altogether and connect directly to a DBMS toaccess the CRM system database. The server component may be a Webservice component.

FIG. 6 further illustrates that the data retrieved from a servercomponent function may be displayed in a particular format depending onthe content of the retrieved data and the context/content of therecognized phrase used to initiate the server component function. InFIG. 6, for example, the information for a particular account 601 isshown where the customer information 602 is highlighted and madeprominent while other data 603 is shown ancillary to the customerinformation. Also, in cases in which a user is reporting on anactivity(s) through an e-mail document relating to a status report,information in the ancillary portion may change to highlight relevantinformation. For example, activity information 604 may be open, whileother account related information is minimized The presentation of theinformation may be based on using formatting instructions communicatedto the task pane or other display device. The formatting instructionsmay be generated by the server component, the CAS engine, AIR module, oreven by the display object itself.

In another embodiment of the claims illustrated in FIG. 7, the AIRmodule may provide an option to the user for modifying the contents ofthe displayed/retrieved results. In this case, the modified data may besaved back to the CRM system and/or CRM system database using an updatefunction 701, which may also be programmed into the server component (inFIG. 7, the newly created document itself may be saved to the databasewith an association to a customer or account). Because the retrieveddata may reflect information stored in the CRM database, as well as CRMsystem state variables, the saved data may make a change to both CRMsystem and CRM database or just to one or the other. FIG. 9 illustratesan updateable priority field 905. If this field is based on informationin a CRM database table, the CRM database table may be modified using anupdate function initiated by the server component. Alternatively, inFIG. 9, the field relating to an activity's status 906, e.g., open orcompleted, may be a state variable of the CRM application itself, inwhich case an update function may be called by the server component thatdoes not involve an immediate database update.

In another embodiment of the claims, the query function is further basedupon the identity of the user. This may be established using an ID andpassword that is authenticated by an operating system running on theclient computer, or in addition, a network server and network directoryservice, such as Microsoft Windows NT and Microsoft's Active Directory.This information, may be passed, along with the phrase context andcontent information, to the server component. Further, the web servicecomponent may initiate a logon to the CRM system or to a DatabaseManagement System (“DBMS”) before running a query. In this case, afailed logon attempt may result in an empty set or a null set beingreturned. If a successful logon is performed based on the client/usercredentials, then the query may retrieve information based on the clientcredentials, e.g., by using a WHERE clause that filters the data basedon identifiers within the data entity relating to access rights. Generalrole-based security may also be implemented.

The following is a description of a business process scenario which maybe improved by using an embodiment of the claimed system.

Terry Jones, an Account Executive at the Litware Corporation, discoversthat the Contoso Company, one of her primary accounts, has anoutstanding service request that is more than 10 days old. Terrycomposes an e-mail message to Kevin King, the Customer Service Manager,asking him to look into the delay and resolve the issue.

When he reads Terry's note, Kevin logs on to the Litware's CRM systemand pulls up information about the Contoso account. He checks thecustomer contact and retrieves a list of Contoso's top five customeractivities. Looking at the recent activities, Kevin can see that one ofContoso's recent service requests has been closed, but he has no way ofknowing if this is the service request that Terry is concerned about.Kevin then must perform a more detailed search of the customer recordsusing the complex CRM system and upon scanning the open servicerequests, notices that Contoso does indeed have an open service requestthat has been outstanding for 10 days. The service request has slippedthrough the cracks.

Kevin decides to alert Mary Baker, Litware's Director of ProductEngineering, about the issue. Kevin adds his comments to Terry's e-mailmessage, copies relevant information from the CRM system, and thenforwards the message to Mary. When Mary receives Kevin's message, Marylogs into the CRM system herself to get some background on the Contosoaccount. She decides to escalate the outstanding service request, andshe wants a senior engineer to take responsibility. Because she is notvery familiar with Litware's CRM system, Mary calls Kevin and asks himto change the priority of the Contoso service request and see that it isassigned appropriately. Kevin talks Mary through the steps necessary toescalate the request, and when then finally completes the task. Kevincloses the loop by sending an e-mail message to Terry, informing her ofthe status and the reassignment of the service request. Although theprocess begins and ends with the exchange of e-mail messages in Outlook,a significant portion of Terry, Kevin, and Mary's time is spent in aseparate CRM application, looking up related information, beforereturning to Outlook.

FIGS. 8 and 9 illustrates the same business situation described above,except using an embodiment of the claimed system.

FIG. 8 illustrates a screen where, Terry, the account executive whoinitiates the investigation, begins composing her email. As Terrycomposes her message certain phrases 801, 802 associated with theContoso account are automatically recognized and highlighted. As Terryis typing the message, she has the option to insert a reference for eachrecognized CRM business entity in the message (e.g., the customer name,service request, and the terms of the customer's service agreement).Rather than detailing all her concerns in the message, Terry retrievesinformation about Contoso's recent activity using retrieved informationin the task pane 803, and then inserts references to the specificservice request 804.

When Kevin and Mary receive Terry's message, they do not have to leavethe desktop application to research and resolve the situation. Withinthe body of the e-mail message, the references inserted by Terry presenta list of relevant actions for those business objects. For example,Kevin may click a “Show customer summary” option (not shown) on thehighlighted “Contoso” reference in the message body, the task pane 803may display customer information retrieved from the CRM system. Ratherthan examining the data in an ad hoc fashion, as when Kevin explored theCRM system on his own, the claimed system allows a systematic approach,prioritizing information in the task pane 803 that may be relevant tothe issues Kevin must consider. In the case of CRM information, thesolution may retrieve not only the account contact information andrecent activities, but also a view into any upcoming opportunities 805involving the recognized customer. On examining the opportunities aroundthe Contoso account, Kevin discovers that there is a $750,000 licenserenewal 806 coming up (information he might easily have missed duringhis own ad hoc exploration of the CRM system). Based on thisinformation, Kevin decides to escalate the issue to Mary immediately.Kevin adds his comments to Terry's e-mail message, inserts a referenceto the service request, and then forwards the message to Mary.

As shown in FIG. 9, when Mary receives Kevin's message, Mary can explorethe circumstances of the upcoming opportunity and identify the partiesinvolved on each side. Similarly, when Mary clicks the reference to theservice request 901, the task pane 902 displays the status and details903 from the CRM system, and a list of possible actions 904, includingthe option to change the priority 905 and assign the request to aspecific engineer. Kevin and Mary may research the issue, make aninformed decision, and take the appropriate actions without ever leavingthe e-mail message. In fact, neither Kevin nor Mary may need to knowwhere to find the customer data or how to query the complex CRM system.

The method and system of the claims may enable desktop applicationdocuments to be enriched with information from a CRM System, providingcontext for making better decisions faster. When using the system of theclaims, information workers may not have to manually move or copy databetween programs but may establish links between the company'senterprise data stores and their desktop documents, which may includespreadsheets, word processing documents, e-mail messages, and electronicforms. Moreover, these links may be created automatically andcontemporaneously with the creation of the content in the document,where an engine recognizes phrases and associates these phrases withretrievable CRM data. A user may also choose to incorporate manualreferences within the documents to serve as a direct link to CRM systemfunctions that readers can act on within the document to make andimplement decisions.

The claimed system may reduce costs associated with informationdiscovery and integration. The claimed system may enable informationworkers to aggregate and act on interrelated information from a CRMsystem while within the context of a document. This may eliminate manualinformation gathering and may reduce the burden on specialists calledupon to extract data or prepare reports from the CRM system.

The claimed system may improve collaboration and decision makingprocesses by enabling a wide subset of information workers tocommunicate critical information regarding CRM information withup-to-date data from a CRM system. This may dramatically improve theefficiency of communication by eliminating the effort required torecreate the context for the communication. Because documents mayinclude live, direct links to the a CRM application or database, allparticipants in a decision have access to a current, consistent view ofthat information.

The claimed system may increase the ease of use of information from CRMsystems by eliminating the need for information workers to learn andoperate multiple, complex CRM applications. Workers may perform agreater portion of their daily tasks and initiate business processesfrom within the familiar, comfortable desktop environment.

Although the forgoing text sets forth a detailed description of numerousdifferent embodiments, it should be understood that the scope of thepatent is defined by the words of the claims set forth at the end ofthis patent. The detailed description is to be construed as exemplaryonly and does not describe every possible embodiment because describingevery possible embodiment would be impractical, if not impossible.Numerous alternative embodiments could be implemented, using eithercurrent technology or technology developed after the filing date of thispatent, which would still fall within the scope of the claims.

Thus, many modifications and variations may be made in the techniquesand structures described and illustrated herein without departing fromthe spirit and scope of the present claims. Accordingly, it should beunderstood that the methods and apparatus described herein areillustrative only and are not limiting upon the scope of the claims.

What is claimed is:
 1. A computer-readable medium havingcomputer-executable instructions for performing operations comprising:opening an electronic document for editing using a document applicationassociated with the document; identifying a phrase within the documentthat is associated with a non-document application based on one of acontent and a context of the phrase; providing an indication that thephrase is recognized; initiating elements of the non-documentapplication to retrieve additional information based on one of a contentand a context of the recognized phrase; creating format instructions fordata retrieved from the non-document application based on the recognizedphrase and the content of the retrieved data; displaying the retrieveddata using a view based on the format instructions when the phrase isselected.
 2. The computer-readable medium of claim 1, further comprisingexecuting a server component function that initiates a set of functionsof the non-document application based on one of a content and a contextof the recognized phrase.
 3. The computer-readable medium of claim 2,wherein the server component is a web service component, and theexternal application is at least one of a customer relationshipmanagement system and a database management system having a customerrelationship management database.
 4. The computer-readable medium ofclaim 3, wherein identifying a phrase within the document comprisesrecognizing a reference to a customer relationship management object. 5.The computer-readable medium of claim 4, wherein recognizing a referenceto a customer relationship management object comprises at least one ofrecognizing an account number relating to an account object, recognizinga customer name relating to a customer object, and recognizing a case IDrelating to a case object.
 6. The computer-readable medium of claim 1,wherein the document application is one of a word processingapplication, a messaging and collaboration application, and aspreadsheet application.
 7. The computer-readable medium of claim 1,further comprising inserting a portion of the retrieved data into thedocument when a user selects the portion.
 8. The computer-readablemedium of claim 1, further comprising modifying the displayed retrieveddata and executing another function that updates one of a database tableand a state variable of the external application based on the modifiedretrieved data.
 9. The computer-readable medium of claim 1, furthercomprising saving the document with a reference to a business object.10. The computer-readable medium of claim 1, further comprisinginserting a pre-identified, selectable phrase into the document.
 11. Thecomputer-readable medium of claim 1, wherein displaying the retrieveddata comprises displaying the data in a task pane associated with thedocument application.
 12. The computer-readable medium of claim 1,wherein the query is based on a user ID.
 13. A computer systemcomprising: a customer relationship management system having a customerrelationship management database; a database management systemcomprising a set of databases, wherein at least one of the databases isthe customer relationship management database; a web service componentcomprising a function associated with the customer relationshipmanagement system; a document application associated with an electronicdocument; a client component associated with the document applicationthat identifies a portion of the document that is associated with theweb service component function based on one of a content and context ofthe portion, and further wherein the client component calls the webservice component function after identifying the portion; an applicationintegration and rendering module that collects data resulting fromcalling the web service component function and displays the data basedon formatting instructions.
 14. The computer system of claim 13, furthercomprising a task pane wherein the application integration and renderingmodule displays the data in the task pane.
 15. The computer system ofclaim 13, wherein the web service component initiates a set of functionsin the customer relationship management system, wherein the customerrelationship management system communicates with a database managementserver managing a customer relationship management application database.16. The computer system of claim 13, wherein the client componentidentifies the portion based on an underlying XML markup schema.
 17. Thecomputer system of claim 13, further comprising a network operatingsystem, wherein the function utilizes a security feature of the networkoperating system to authenticate a user of the document application, andfurther wherein the web service component function is based on a userID.
 18. The computer system of claim 13, wherein the formattinginstructions are based on the context and content of the retrieved dataand the identified portion.
 19. The computer system of claim 13, whereinthe web service component communicates directly with the databasemanagement system to retrieve information from the customer relationshipmanagement database.
 20. The computer system of claim 13, wherein thedocument application is one of a word processing application, amessaging and collaboration application, and a spreadsheet application.